<div>
    <div class="sy-charity-gray-bottom-line sy-charity-article-container" style="padding: 10px 0;" ng-repeat="media in $ctrl.medias">
        <a href="/#/mediaDetail/{{media.id}}" target="_blank">
            <div>
                <p class="sy-charity-article-title">{{media.title}}</p>
            </div>

            <div>
                <img style="float: left;display: inline;width: 200px;max-height: 200px;margin-right: 10px;min-height: 50px;"
                     ng-src="{{media.cover_url}}" ng-if="!!media.cover_url"/>
                <div style="min-height: 50px;" ng-class="{'sy-charity-img-height': media.cover_url}">
                    <p style="color: #666;margin: 10px;">{{media.desc}}</p>
                    <p style="color: #666;margin: 10px">{{media.update_at}}更新</p>
                </div>
            </div>
        </a>
    </div>
    <nav>
        <ul class="pager">
            <li ng-class="{'disabled': $ctrl.currentPage == 0}"><a  href="" ng-click="$ctrl.prePageClick()">上一页</a></li>
            <li ng-class="{'disabled': $ctrl.lastPage}"><a  href="" ng-click="$ctrl.nextPageClick()">下一页</a></li>
        </ul>
    </nav>
</div>


